from PIL import Image
im = Image.open('Images/古风美女章若楠壁纸.jpg')
w,h = im.width,im.height
image_row=4
image_col=5
import os
names = os.listdir('Images')
print(names)
newImage=Image.new('RGB',(w*image_row,h*image_col))
for x in range(image_col):
    for y in range(image_row):
        o = Image.open(f'Images/{names[image_row*x+y]}')
        newImage.paste(o,(y*w,x*h))
newImage.save('NewImage.jpg')